/**
 * 视频进度
 */
export enum PROCESS_TYPES {
  beforeInit = 'beforeInit',
  init = 'init',
  loading = 'loading',
  opened = 'opened',
  beforeStart = 'beforeStart',
  start = 'start',
  new = 'new',
  end = 'end',
  next = 'next',
  goon = 'goon',
  interrupt = 'interrupt',
  error = 'error',
  idle_response = 'idle_response',
  qa_to_explain = 'qa_to_explain',
  explain_to_qa = 'explain_to_qa',
  answer = 'answer',
}

/**
 * UiEvent 回调类型
 */
export enum UIEVENTTYPES {
  initialization = 'initialization',
  voice_start = 'voice_start',
  voice_end = 'voice_end',
  subtitle_on = 'subtitle_on',
  subtitle_off = 'subtitle_off',
  widget_pic = 'widget_pic',
  widget_text = 'widget_text',
  widget_swiper = 'widget_swiper',
  widget_slideshow = 'widget_slideshow',
  widget_cols = 'widget_cols',
  widget_form = 'widget_form',
  widget_close = 'widget_close',
  widget_singlevideo = 'widget_singlevideo',
  widget_subtitle = 'widget_subtitle',
  widget_branch = 'widget_branch'
}

/**
 * nlp库类型
 */
export enum MODE {
  EXPLAIN = 'explain', // 讲解模式 - 指令库 && 有人内容模式
  QA = 'question', // 问答模式 - 问答库
  NOBODY = 'unmanned' // 无人内容模式
}

export enum WIDGETMAP {
  widget_pic = 'image-url',
  widget_text = 'text-content',
  widget_swiper = 'slides',
  widget_slideshow = 'images',
  widget_cols = 'slides',
  widget_form = 'table_id',
  widget_singlevideo = 'video',
  widget_branch = "slides"
}

/**
 * 不显示logo的节点id
 */
export const NO_LOGO_IDS = ['6aa41cef834549e29449def566eea32a', '080cdd38ae6d42eda85dd2fcc0d04be0', 'bc89fe914c614cf98ca0048c142b9338', '6e8acdae6e484ae18d3260508667b648']

/**
 * 节点播放类型
 */
export enum NODE_TYPE {
  'new_intro' = 1,//新客引导
  'old_break' = 2,//老客中断
  'old_end' = 3,//老客结束
  'main' = 4,//主线内容
  'end' = 5,//结束内容
  'no_person' = 6,//无人模式
  'smart_greet' = 7,//大屏打招呼
  'smart_main' = 8,//大屏主线
  'link_greet' = 9,//link打招呼
}